﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.Domain;
using OFB.BLL.ViewModel;

namespace OFB.BLL.Repository
{
    public interface ICreateFeebackBLL
    {

        int CreateFeedback(string topicName, string courseName, string trainerName, DateTime startDate, DateTime finishDate);
        void UpdateFeedback(string topicName, string courseName, string trainerName, DateTime startDate, DateTime finishDate);
    

        void CreateFeedbackAnswer(int fbId, string traineeId, DateTime finishDate);

        ICollection<ManageFeedbackViewModel> GetTopicByCourseSubject(string courseName, string subjectName);
        ICollection<Subject> GetSubjectNameByCourseName(string courseName);
        ICollection<Course> GetAllCourseName();
        ICollection<Trainee> GetAllTraineeByTopicCourseName(string topicName, string courseName);
        ICollection<Trainer> GetAllTrainerEnable();

        string GetTrainerIdByTopicCourse(string topicName, string CourseName);
        bool CheckFeedbackAnswer(int fbId);
        bool CheckFeedback(string topicName, string courseName);
        Feedback GetFeedbackBySubjectCourse(string courseName, string topicName);
    }
}
